package com.torry.replay.infras.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.zen.boot.starter.mybatisplus.base.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author torry.wang
 * @since 2023-12-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_dragon")
@ApiModel(value="DragonDO对象", description="")
public class DragonDO extends Entity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDate date;

    @ApiModelProperty(value = "股票名称")
    private String name;

    @ApiModelProperty(value = "涨跌幅 单位 %")
    private Double rangePercent;
}
